package com.zzl.car.mapper;

import com.zzl.car.entity.CarCheckRecord;
import com.zzl.car.entity.Worker;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZzwWorkerMapper {

    public List<Worker> getWorker(@Param("name")String name,
                                  @Param("state")Integer state);

    public int deleteWorker(@Param("id")Integer id);

    public List<CarCheckRecord> getCarCheckRecord();

    public int addWorker(@Param("w")Worker w);

    public int modifyWorker(@Param("w")Worker w);
}
